/*
 * package depricated;
 * 
 *//**
	 * < W E E K S < Ambient Visualisation Application < Owen Phelan - 04368771
	 */
/*
 * 
 * import processing.core.*; import Weeks.GCalendarServices;
 * 
 * import java.util.Random.*; import javax.swing.JOptionPane;
 * 
 * public class oldWeeks extends PApplet{
 * 
 * PImage cloud; PImage busStop; PImage sun; PImage moon; PImage[] characters;
 * 
 * //public GCalendarServices gs = new GCalendarServices();
 * 
 * static public void main(String args[]) { PApplet.main(new String[] {
 * "--present", "Weeks - Visual Calendar" }); }
 * 
 * 
 *//**
	 * Setup the window, with a WVGA sized window to use in a widescreen format
	 * in a 1024x768 display
	 */
/*
 * @Override public void setup() { //WVGA Display size(800, 480, P3D);
 * frameRate(30); cloud = loadImage("Weeks/data/cloud.png"); busStop =
 * loadImage("Weeks/data/normalBStop.png"); System.out.println("Number of
 * events: "+gs.getNumberOfEvents()); }
 * 
 *//**
	 * This makes a different background for five major periods of a day Paint
	 * the background which changes color with time (hour() and background() are
	 * methods within core.jar)
	 */
/*
 * public void drawSky(){
 *  // 00:00 - 06:00 -> Purple if((hour() >= 0) && (hour() <= 6)){
 * background(180, 32, 246); sun = loadImage("Weeks/data/sun.png");
 * //image(sun); }
 *  // 06:00 - 12:00 -> Blue if((hour() >= 6) && (hour() <= 12)){ background(90,
 * 147, 253); }
 *  // 12:00 - 1700 -> Green if((hour() >= 12) && (hour() <= 17)){
 * background(107,167,169); }
 *  // 17:00 - 21:00 -> Yellow if((hour() >= 17) && (hour() <= 21)){
 * background(240, 215, 100); }
 *  // 21:00 - 23:00 -> Black if((hour() >= 21) && (hour() <= 23)){
 * background(0,0,0); } }
 * 
 *//**
	 * Draw the clouds: This gets the number of events in your calendar and
	 * draws that number of clouds in the sky, in a pseudorandom fashion
	 */
/*
 * public void drawClouds(){
 * 
 * //a,b,c: so the clouds can be randomly distributed
 * 
 * //int numOfEvents = gs.getNumberOfEvents(); String[] clouds = new
 * String[gs.getNumberOfEvents()];
 * 
 * //draw clouds for each event for (int i=0; i<=numOfEvents-1; i++){
 * 
 * double da = Math.random()*100; int a = (int)da; double db = Math.random()*42;
 * int b = (int)db; double dc = Math.random()*10; int c = (int)dc;
 * 
 * for(int j=0; j<=numOfEvents; j++){ image(cloud, i*120+a+(b*c), 42); } }
 *  }
 * 
 *//**
	 * Draw mountains in Background
	 */
/*
 * public void drawMountains(){
 * 
 * //mountains //color lightMountain = color (30, 70, 45); //color mountain =
 * color (40, 80, 60); //color darkMountain = color (60, 100, 60);
 * 
 * pushMatrix(); translate(-100, 80); fill(60, 100, 60); triangle(670, 280, 220,
 * 60, -500, 280); popMatrix();
 * 
 * pushMatrix(); translate(600, 100); fill(60, 100, 60); triangle(670, 280, 220,
 * 60, -300, 280); popMatrix();
 * 
 * pushMatrix(); translate(50, 100); fill(30, 70, 45); triangle(670, 280, 220,
 * 60, -500, 280); popMatrix();
 * 
 * pushMatrix(); translate(-400, 100); fill(40, 80, 60); triangle(670, 280, 220,
 * 60, -500, 280); popMatrix();
 *  }
 * 
 *//**
	 * Draw the road and the pavement
	 */
/*
 * public void drawForeground(){
 * 
 * //road pushMatrix(); translate(0, height-100); beginShape(); fill(80);
 * rect(0, 0, width, 100); endShape(); popMatrix();
 * 
 * //snow on the road pushMatrix(); translate(0, height-150); fill(250); rect(0,
 * 0, width, 50);
 * 
 * pushMatrix(); translate(0, height-75); fill(400); rect(0, 0, width, 5);
 * 
 * popMatrix(); popMatrix();
 *  }
 * 
 * public void drawBusStop(){
 * 
 * //draw post stroke(50); pushMatrix(); translate(50, height-240); fill(10);
 * rect(0, 0, 10, 125); popMatrix();
 * 
 * //yellow diamond stop sign pushMatrix(); image(busStop, 24, 230);
 * popMatrix();
 *  }
 * 
 *//**
	 * Show the people within the vicinity
	 */
/*
 * public void showPeople(){ //getPeople; }
 * 
 *//**
	 * Tells the coordinates of the mouse, easier to tell where to put stuff
	 */
/*
 * public void showCoords(){ System.out.println("("+mouseX+","+mouseY+")"); }
 * 
 *//**
	 * Main method for processing: draw all the objects
	 */
/*
 * @Override public void draw() { stroke(200); drawSky(); drawClouds();
 * drawMountains(); drawForeground(); drawBusStop(); showCoords(); showPeople();
 * noLoop(); }
 *  }
 */